<%--
  Created by IntelliJ IDEA.
  User: cdyoue
  Date: 2018/11/20
  Time: 16:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    System.err.println(basePath);
    pageContext.setAttribute("basePath", basePath);
%>
<html>
<head>
    <title>宠物管理系统</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<span id="basePath" path="${pageScope.basePath}"></span>
<h1 style="text-align: center;background-color: #999999">宠物管理系统 <a href="system/logout" style="text-align: right">退出</a>
</h1>
</body>
<script src="http://www.jq22.com/jquery/jquery-1.9.1.js"></script>
</html>
